package cn.devzyh.oms.wsms.api.entity;

import cn.devzyh.oms.common.mybatis.domain.BaseModel;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.RequiredArgsConstructor;

/**
 * 商品分类
 *
 * @author devzyh
 * @date 2023-09-16
 */
@TableName("sku_item")
@Data
@EqualsAndHashCode(callSuper = true)
public class SkuItem extends BaseModel<SkuItem> {

	/**
	 * ID
	 */
	@TableId(type = IdType.ASSIGN_ID)

	@ExcelProperty("ID")
	private Long id;

	/**
	 * 名称
	 */
	@ExcelProperty("名称")
	private String name;

	/**
	 * 备注
	 */
	@ExcelProperty("备注")
	private String remark;

	/**
	 * 父级ID
	 */
	@ExcelProperty("父级ID")
	private Long parentId;

	/**
	 * 排序
	 */
	@ExcelProperty("排序")
	private Integer sortOrder;

}